<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>DoYouHaoBaby示例：数据查询</title>
<link rel='stylesheet' type='text/css' href='{:__PUBLIC__}/Css/common.css'>
<import file="Js.Vendor.Jquery" />
<import file="Js.Dyhb#package" />
 </head>
 {script}
 <!--
	function showTrace(){

		$('#trace_info').html( $('#dyhb_page_trace').html() );
		$('#dyhb_page_trace').html( ' ' );
	}
 //-->

Dyhb.Dom.Ready(
    
	function(){
	    
		showTrace();
	}
);

{/script}
 <body>
 <div class="main">
 <h2>DoYouHaoBaby示例之：数据查询</h2>
  <div class="title">数据查询包括普通查询、组合查询、统计查询、定位查询、动态查询和SQL查询。</div><br/>
<div class="result" style="font-weight:normal">
普通列表查询结果：<br/>
<foreach for=arrList value=v >
   {$v['form_id']}--{$v['form_title']}<br/>
</foreach>
<hr/>
带条件查询结果：<br/>
<foreach for=arrVo value=v >
   {$v['form_id']}--{$v['form_title']}<br/>
</foreach>
<hr/>
组合查询结果：<br/>
<foreach for=arrList2 value=v >
   {$v['form_id']}--{$v['form_title']}<br/>
</foreach>
<hr/>
动态查询结果：<br/>
<foreach for=arrVo2 value=v >
   {$key}--{$v}<br/>
</foreach>
</div>
<div class="line"></div>
<div id="trace_info"></div>
<div class="line"></div>
 <div class="title">示例源码</div><br/>
 <div class="li_title">控制器IndexControl类</div><br/>
 <div class="code"><php>highlight_file( APP_PATH.'/App/Class/Controller/IndexController.class.php' )</php></div>
</div>
 </body>
</html>
